package com.xmg.p2p.business.mapper;

import com.xmg.p2p.business.domain.RechargeOffline;
import com.xmg.p2p.business.query.RechargeOfflineQueryObject;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @BelongsProject: jinrong-website
 * @BelongsPackage: com.xmg.p2p.business.mapper
 * @author: Andy
 * @date: 2021.4.8 10:58
 * @Description: 线下充值单的Mapper接口
 * @since JDK 1.8
 */
@Repository
public interface RechargeOfflineMapper {
    //添加
    int insert(RechargeOffline record);
    //根据id查询
    RechargeOffline selectByPrimaryKey(Long id);
    //修改
    int updateByPrimaryKey(RechargeOffline record);
    //获取记录数
    int queryForCount(RechargeOfflineQueryObject qo);
    //根据条件查询(分页操作)
    List<RechargeOffline> query(RechargeOfflineQueryObject qo);

}
